package cn.hjh.pojo;

import java.util.HashSet;
import java.util.Set;

public class District {

    //编号
    private Integer id;
    //区县名称
    private String name;
    //街道
    private Set<Street> streetSet = new HashSet<Street>();
    public District(){}
    public District(Integer id,String name){
        this.id = id;
        this.name = name;
    }

    public Set<Street> getStreetSet() {
        return streetSet;
    }

    public void setStreetSet(Set<Street> streetSet) {
        this.streetSet = streetSet;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
